########################################
#####County of Holland Major Events##### 
########By James 'Mad King' Dahl######## 
######################################## 

#Jan IV, and the Treaty of Woudrichem# 
event = { 	
	id = 88000 
	random = no 
	country = U10 
	name = "EVENTNAME88000" 
	desc = "EVENTHIST88000" 
	style = 1 
	date = { day = 1 month = march year = 1419 } 
	offset = 300 

	action_a ={ #Jan wins# 
		name = "ACTIONNAME88000A" 
		command = { type = relation which = BUR value = 50 } 
		command = { type = secedeprovince which = BUR value = 379 }
		command = { type = trigger which = 88003 } 
		} 
	action_b ={ #Jaqueline wins# 
		name = "ACTIONNAME88000B" 
		command = { type = relation which = BUR value = -100 } 
		command = { type = relation which = PAP value = -25 } 
		command = { type = relation which = HAB value = -50 } 
		command = { type = relation which = HUN value = -50 } 
		command = { type = MIL   which = 3 value = 200 } 
		command = { type = ADM   which = 3 value = 200 } 
		command = { type = DIP   which = 3 value = 200 } 
		command = { type = sleepevent which = 88001 } 
		command = { type = sleepevent which = 88002 } 
		command = { type = sleepevent which = 88004 } 
		command = { type = sleepevent which = 88005 } 
		command = { type = sleepevent which = 88014 } 
		command = { type = sleepevent which = 3893 } 
		command = { type = war which = BUR } 
		} 
} 

#Jacqueline's divorce of Jan IV of Brabant# 
event = { 
	id = 88001 
	random = no 
	country = U10 
	name = "EVENTNAME88001" 
	desc = "EVENTHIST88001" 
	style = 1 
	date = { day = 1 month = january year = 1421 } 
	offset = 300 

	action_a ={ #Jaqueline ditches John and marries Humphrey# 
		name = "ACTIONNAME88001A" 
		command = { type = dynastic which = ENG } 
		command = { type = relation which = ENG value = 75 } 
		command = { type = relation which = BUR value = -50 } 
		command = { type = relation which = HAU value = -75 } 
		command = { type = sleepevent which = 88014 } 
		} 

	action_b ={ #Jaqueline stays with Jan IV# 
		name = "ACTIONNAME88001B" 
		command = { type = wakemonarch which = 13000 } 
		command = { type = sleepevent which = 88002 } 
		command = { type = sleepevent which = 88005 } 
		command = { type = relation which = HAU value = 50 } 
		command = { type = sleepevent which = 3893 } 
		} 
} 

#Jacqueline's invasion of Hainaut# 
event = { 
	id = 88002 
	random = no 
	country = U10 
	name = "EVENTNAME88002" 
	desc = "EVENTHIST88002" 
	style = 1 

	date = { day = 1 month = january year = 1424 } 
	offset = 300 

	action_a ={ #Jacky and Humphrey lose# 
		name = "ACTIONNAME88002A"
		command = { type = relation which = BUR value = 50 } 
		command = { type = sleepevent which = 88013 }
		} 
} 

#The Death of Jan VI# 
event = { 
	id = 88014 
	random = no 
	country = U10 
	date = { day = 11 month = april year = 1428 } 
	offset = 0 
	deathdate = { day = 12 month = april year = 1428 } 
	name = "EVENTNAME88014" 
	desc = "EVENTHIST88014" 
	style = 1 

	action_a = { 
		name = "ACTIONNAME88014A" 
		command = { type = trigger which = 88010 } 
		} 

	action_b = { 
		name = "ACTIONNAME88014B" 
		command = { type = sleepevent which = 88005 } 
		command = { type = MIL   which = 3 value = 100 } 
		command = { type = ADM   which = 3 value = 100 } 
		command = { type = DIP   which = 3 value = 100 } 
		} 
} 

#The Ransoming of Jacqueline # 
event = { 
	id = 88013 
	random = no 
	country = U10 
	name = "EVENTNAME88013" 
	desc = "EVENTHIST88013"
	style = 1 

	action_a ={ #cha-ching!# 
		name = "ACTIONNAME88013A" 
		command = { type = sleepevent which = 88005 } 
		command = { type = MIL   which = 3 value = 100 } 
		command = { type = ADM   which = 3 value = 100 } 
		command = { type = DIP   which = 3 value = 100 } 
		command = { type = relation which = BUR value = 75 } 
		command = { type = treasury value = -100 }
		} 
} 

#The Annexation of Holland# 
event = { 
	id = 88005 
	trigger = { exists = BUR } 
	random = no 
	country = U10 
	name = "EVENTNAME88005" 
	desc = "EVENTHIST88005" 
	style = 1 

	date = { day = 11 month = april year = 1433 } 
	offset = 0 
	deathdate = { day = 12 month = april year = 1433 } 


	action_a ={ #Surrender to Burgundy# 
		name = "ACTIONNAME88005A" 
		command = { type = trigger which = 88006 } 
		command = { type = revolt which = 339 } 
		} 

	action_b ={ #Defy Burgundy# 
		name = "ACTIONNAME88005B" 
		command = { type = MIL   which = 3 value = 36 } 
		command = { type = ADM   which = 3 value = 36 } 
		command = { type = DIP   which = 3 value = 36 } 
		command = { type = trigger which = 88007 } 
		command = { type = breakvassal which = BUR } 
		command = { type = revolt which = 339 } 
		command = { type = relation which = BUR value = -150 } 
		} 
} 

#The Death of Jacoba# 
event = { 
	id = 88008 
	random = no 
	country = U10 
	date = { day = 9 month = october year = 1436 } 
	offset = 0 
	name = "EVENTNAME88008" 
	desc = "EVENTHIST88008" 
	style = 1 

	action_a = { 
		name = "ACTIONNAME88008A" 
		command = { type = trigger which = 88009 } 
		} 

	action_b = { 
		name = "ACTIONNAME88008B" 
		command = { type = stability value = 1 } 
		command = { type = domestic which = serfdom value = -3 } 
		command = { type = domestic which = aristocracy value = -3 } 
		command = { type = wakemonarch which = 13002 } 
		} 
} 

#Jean Calvin and William of Orange# 
event = { 
	id = 88011 
	random = no 
	country = U10 
	trigger = { religion = catholic 
			NOT = { event = 88015 }} 
	date = { year = 1550 month = june day = 14 } 
	offset = 0 
	name = "EVENTNAME88011" 
	desc = "EVENTHIST88011" 
	style = 2
 
	action_a = { 
		name = "ACTIONNAME88011A" 
		command = { type = religion which = reformed } 
		command = { type = stability value = 1 } 
		command = { type = domestic which = serfdom value = -2 } 
		command = { type = domestic which = aristocracy value = -2 } 
		command = { type = domestic which = centralization value = -2 } 
		} 

	action_b = { 
		name = "ACTIONNAME88011B" 
		command = { type = stability value = -2 } 
		command = { type = revolt which = -1 } 
		command = { type = domestic which = serfdom value = 1 } 
		command = { type = domestic which = aristocracy value = 1 } 
		command = { type = domestic which = centralization value = 1 } 
	} 
} 
#Creation of the Dutch Republic#
event = {

	id = 88016
	trigger = {
			owned = {
					province = 337
					data = -1
				}
			owned = {
					province = 338
					data = -1
				}
			owned = {
					province = 339
					data = -1
				}
			owned = {
					province = 340
					data = -1
				}
			owned = {
					province = 378
					data = -1
				}
			owned = {
					province = 380
					data = -1
				}
			NOT = {
				exists = HOL
				}
		}
	random = no
	country = U10
	name = "EVENTNAME88016"
	desc = "EVENTHIST88016"
	style = 2

	date = { day = 1 month = january year = 1559 }
	offset = 3600
	deathdate = { day = 1 month = january year = 1648 }

	action_a ={
		name = "ACTIONNAME88016A"
		command = { type = vp value = 200 }
		command = { type = stability value = -2 }
		command = { type = revoltrisk   which = 48 value = 8 } 
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = gainbuilding   which = -1 value = bailiff } 
		command = { type = gainbuilding   which = -1 value = bailiff } 
		command = { type = gainbuilding   which = -1 value = bailiff }  
		command = { type = gainbuilding   which = -1 value = bailiff } 
		command = { type = gainbuilding   which = -1 value = courthouse }  
		command = { type = gainbuilding   which = -1 value = courthouse }
	}

	action_b ={
		name = "ACTIONNAME88016B"
		command = { type = vp value = -200 }
		command = { type = inflation value = 10 }
		command = { type = stability value = -1 }
		command = { type = country which = HOL }
		command = { type = religion   which = reformed } 
		command = { type = sleepevent   which = 3900 } 
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = addcore which = 337 }
		command = { type = addcore which = 338 }
		command = { type = addcore which = 339 }
		command = { type = addcore which = 340 }
		command = { type = addcore which = 378 }
		command = { type = addcore which = 380 }
	}
}
#Jacqueline's invasion of Hainaut# 
event = { 
	id = 88020 
	random = no 
	country = U10
	name = "EVENTNAME88003" 
	desc = "EVENTHIST88003"
	style = 1 
	action_a ={ #Jacky wins!# 
		name = "ACTIONNAME88005B" 
		command = { type = sleepevent which = 88014 } 
		command = { type = sleepevent which = 88004 } 
		command = { type = sleepevent which = 88005 } 
		command = { type = MIL   which = 3 value = 175 } 
		command = { type = ADM   which = 3 value = 175 } 
		command = { type = DIP   which = 3 value = 175 } 
		command = { type = relation which = BUR value = -75 } 
		command = { type = relation which = ENG value = 50 } 
		command = { type = sleepevent which = 88002 }
		command = { type = infantry which = 379 value = 6000 }
		command = { type = cavalry which = 379 value = 2000 }
	} 
}

##################################
###  County of Holland events  ###
###          by TheF           ###
###    modified by Twoflower   ###
##################################

#Jan and the Schieringers 1# 
event = { 
	id = 88017 
	random = no 
	country = U10 
	name = "EVENTNAME88017" 
	desc = "EVENTHIST88017"
	style = 1 
	trigger = { exists = FRI} 
	date = { day = 15 month = june year = 1420 } 
	offset = 14 
	deathdate = { day = 1 month = july year = 1420 } 

	action_a = { 
		name = "ACTIONNAME88017A" 
		command = { type = trigger which = 22011 } #Reconciliation effort of the Schieringers# 
		} 

	action_b = { 
		name = "ACTIONNAME88017B" 
		command = { type = war which = FRI } 
		command = { type = stability value = -2 } 
		command = { type = trigger which = 22012 } #Vetkoper reaction# 
		command = { type = sleepevent which = 88018 } #Jan and the Schieringers 2# 
		} 
} 
#Jan and the Schieringers 2# 
event = { 
	id = 88018 
	random = no 
	country = U10 
	name = "EVENTNAME88018" 
	desc = "EVENTHIST88018"
	style = 1 
	trigger = { exists = FRI } 
	date = { day = 4 month = october year = 1420 } 
	offset = 0 
	deathdate = { day = 4 month = november year = 1420 } 

	action_a = { 
		name = "ACTIONNAME88018A" 
		command = { type = vassal which = FRI } 
		command = { type = trigger which = 22013 } #Reaction to Jan becomming lord of Frisia# 
		} 
} 
#Jan loses control of the Schieringers# 
event = { 
	id = 88019 
	random = no 
	country = U10 
	name = "EVENTNAME88019" 
	desc = "EVENTHIST88019"
	style = 1 
	trigger = { vassal = { country = U10 country = FRI } } 
	date = { day = 17 month = august year = 1422 } 
	offset = 0 
	deathdate = { day = 18 month = august year = 1422 } 

	action_a = { 
		name = "ACTIONNAME40098A" 
		command = { type = trigger which = 22015 } #Breaking the vassalization# 
		} 
} 